package com.coffee.service;

import com.coffee.entity.OrderDetail;
import com.coffee.entity.Orders;
import com.coffee.entity.PageResult;
import com.coffee.entity.QueryPageBean;

import java.util.HashMap;
import java.util.List;

public interface OrderService {
    void submit(Orders orders);

    void remove(String orderId,String userId);

    List<Orders> listOrd(String userId);

    List<OrderDetail> listDet(String orderId);

    PageResult pageQuery(QueryPageBean queryPageBean);

    void removeBatch(List<String> ids);

    HashMap<String, Integer> getStatistics();

    void status(Orders orders);

    HashMap<String, Integer> getAnalyse();

}
